package org.meteorshower.employee_depart.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 分页实体
 * */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PagedData<T> implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long total;
    private List<T> data;
    private Integer currentPage;
    private Integer pageSize = 5;
}
